package Stack03;
import java.util.Scanner;
public class StackTest03 {
    public static void main(String[] args) {
        String arr = "1+7+(5*6/3+3)*7*(4+5/2)";
        Scanner scanner=new Scanner(System.in);
        arr=scanner.next();
        StackOOP03 numberStack = new StackOOP03(10);
        StackOOP03 symbolStack = new StackOOP03(10);
        int a= StackOOP03.A(numberStack, symbolStack, arr);
        System.out.println(a);
    }
}
